package com.corpdata.system.org.dao;

import com.corpdata.system.org.entity.Dept;
import java.util.List;
import java.util.Map;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;

/**
 * 
 * @author zealon
 * @email zealon@126.com
 * @date 2018-04-24 17:21:04
 */
@Mapper
public interface DeptDao {

	Dept selectById(String id);
	
	Page<Dept> selectList(Map<String,Object> params);
	
	int selectCount(Map<String,Object> params);
	
	int insert(Dept dept);
	
	int update(Dept dept);
	
	int delete(String id);
	
	int batchDelete(String[] ids);
}
